//
//  KDReportRequestTool.h
//  WangJingApp
//
//  Created by 魏强 on 17/10/11.
//  Copyright © 2017年 KDTech. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SVProgressHUD.h"
#import "KDBaseResult.h"
@class KDBaseParam;
@class KDBaseListParam;
@interface KDReportRequestTool : NSObject
/**  获取网站类型的请求 */
+ (void)getWebsitTypesWithParam:(KDBaseParam *)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;

/**  获取到可接收报告的单位的请求 */
+ (void)getCompanysWithParam:(KDBaseParam *)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;

/**  获取所有线索的请求 */
+ (void)getCueSourcesWithParam:(KDBaseParam *)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;

/**  获取所有城市的请求 */
+ (void)getCitysWithParam:(KDBaseParam *)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;

/**  获取所有信息类别的请求 */
+ (void)getInfoTypesWithParam:(KDBaseParam *)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;
/**  上报请求 */
+ (void)addReportInfoWithParam:(id)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;

/**  获取所有上报新闻的请求 */
+ (void)getReportListWithParam:(KDBaseListParam *)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;
/**  上传图片 */
+ (void)uploadPicInfoWithWithParam:(id)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;

@end
